package com.aaa.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_user")
public class User {
    @Id
    private  Integer id;
    private String username;
    private String password;
    //
    private String salt;
    private String sex;
    private String imgpath;
    private  Integer rid;
    private Date createtime;
    private Date updatetime;
    private Integer status;


}
